package com.trsj.lnsj.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 发生错误时的响应内容结构
 * author : GuZhiBing
 * date : 2017-11-28 16 : 01
 */

@Data
@ApiModel("错误响应")
public class ErrorResponse {

    @ApiModelProperty(value="错误码")
    private int code;

    @ApiModelProperty(value="错误信息")
    private String message;

}
